(function(){var e={"./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/badging-helper/dist/es6.js":function(e,t,n){"use strict";n.r(t);n.d(t,{badgingHelper:function(){return o}});var r=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.vendors/handlebars/js/handlebars.js");const i={NO_badge_JCR_ERROR:"No badge or indicator JCR objects provided to helper-badging."};const s=new function e(){this.preface="spa";this.component="badge";this.nameSpace=`${this.preface}-${this.component}`;this.numeric=`${this.nameSpace} ${this.nameSpace}--numeric`;this.dot=`${this.nameSpace} ${this.nameSpace}--dot`};function o(e,t){if(!e)throw new Error(i.NO_badge_JCR_ERROR);const n=e;const o=new function e(){this.class=[];this.numberValue="";this.getID=n.id?n.id:"";this.output="";this.id=n.id?`id='${this.getID.toLowerCase()}'`:"";this.badgeType="";if(n.type&&n.type==="numeric")if(n.content&&n.content>0)this.badgeType="numeric";else this.badgeType="dot";if(this.badgeType==="numeric")this.class.push(`${s.numeric}`);else this.class.push(`${s.dot}`);if(n.options.position)this.class.push(`spa-badging-pos--${n.options.position}`);else this.class.push("spa-badging-pos--relative");if(n.classNames)this.class.push(`${n.classNames}`);const{attributes:t={}}=n;this.attributesString="";Object.keys(t).forEach((e=>{if(typeof t[e]==="string"||typeof t[e]==="boolean")this.attributesString+=`${e}="${t[e]}"`;else this.attributesString+=`${e}="${r.Utils.escapeExpression(JSON.stringify(t[e]))}"`}));if(this.badgeType==="numeric")if(n.content&&n.content>0)if(n.content>99)this.numberValue="99+";else this.numberValue=Math.trunc(n.content);this.ariaLabel=n.options.ariaLabel?`${n.options.ariaLabel}`:"";const i=this.class.join(" ");this.output+=`\n ${this.numberValue}\n ${this.ariaLabel}\n \n `.trim()};return new r.SafeString(o.output)}},"./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/button-group-helper/dist/es6.js":function(e,t,n){"use strict";n.r(t);n.d(t,{buttonGroup:function(){return u}});var r=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.vendors/handlebars/js/handlebars.js");var i=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/button-helper/dist/es6.js");var s=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/link-helper/dist/es6.js");const o="helpers/helpers-button-group";const a="spa-btn";const l="spa-button-group";function u(e,t){let n=false;let u=false;const c=e.alignment?e.alignment:"right";const p=e["buttons"];let d=Object.keys(p);let f="";let h="";let L="";L=`class="${l} ${l}--${c}${e.blockAtMedium?` ${l}--block-at-medium`:""}"`;if(!e){const e=`Error in ${o}: 'button' HBS helper requires a config object.\n Please check that each object in the HBS template exists in your JCR file.\n If you are using multiple languages ensure all language-based JCRs have the same named objects.`.replace(/\s+/g," ");throw new Error(e)}for(let e=0;e ${h} `;return new r.SafeString(f)}},"./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/button-helper/dist/es6.js":function(e,t,n){"use strict";n.r(t);n.d(t,{button:function(){return m}});var r=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.vendors/handlebars/js/handlebars.js");var i=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/svg-helper/dist/es6.js");var s=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/badging-helper/dist/es6.js");const o="@sparta.global.helpers/button-helper";const a=["small-up","medium-up","large-up","small-only","medium-only","large-only"];const l=["button","a"];const u="button";const c="spa-btn";const p=["button","submit","reset"];const d=["small","large","disabled","primary","secondary"];const f=["type"];const h={layer:"spa-ui-layer-link spa-fn",popup:"spa-fn spa-boa-window"};const L={interstitialType:"spa-ui-layer-interstitial",inputHelpLinkType:"toggle-trigger-link",inputHelpIconType:"toggle-trigger svg-button",layerType:"spa-ui-layer-tooltip-link"};function g(e){const t=e!==null&&typeof e!=="undefined"&&typeof e==="object";return t}function m(e,t){if(!e){const e=`Error in ${o}: 'button' HBS helper requires a config object.\n Please check that each object in the HBS template exists in your JCR file.\n If you are using multiple languages ensure all language-based JCRs have the same named objects.`.replace(/\s+/g," ");throw new Error(e)}const n=Object.prototype.hasOwnProperty.call(e,"base");const m=n&&(e.base===""||e.base.length);const C=m?e.base:c;const y=`${C}--`;const v=e.classes||"";let b="";let w="";let _=e.content||"";let M=[];let S="";let x="";let k="";let E="";const A=`${C}-icon`;const T=l.indexOf(e.tag)!==-1?e.tag:u;const O=T==="button";const $=e.attributes?Object.keys(e.attributes):[];const P=O?f:[];const D=e.iconTextPattern||"";if(e.modifiers)e.modifiers.split(" ").forEach((e=>{if(!D||d.indexOf(e)!==-1)b+=`${y}${e} `}));if(e.breakpoints)a.forEach((t=>{const n=e.breakpoints[t];if(n)n.split(" ").forEach((e=>{b+=`${y}${e}-at-${t} `}))}));if(e.backgroundType){const t=e.backgroundType;if(t==="dark"&&(!D||d.indexOf(keyword)!==-1))b+=`spa-btn--bg-dark`}if(e.actionType){const{type:t}=e.actionType;const{options:n}=e.actionType;w+="data-bactmtrack ";if(n){const t=JSON.stringify(e.actionType.options);const n=r.Utils.escapeExpression(t);w+=`data-options="${n}" `}const i={layer(){if(n){if(n.rel)w+=`rel="${n.rel}" `;Object.keys(L).some((e=>{if(n.hasOwnProperty(e)){b+=`${L[e]} `;return true}return false}))}}};if(t){if(h.hasOwnProperty(t))b+=`${h[t]} `;if(i[t])i[t]()}}else if(e.adaText)_+=` ${e.adaText}`;if(T==="a")$.forEach((t=>{if(t==="target")if(e.attributes&&e.attributes[t]==="_blank")if(e.actionType&&e.actionType.options&&e.actionType.options.rel)w+=`rel="${e.actionType.options.rel} noopener noreferrer" `;else w+=`rel="noopener noreferrer" `}));if(e.icon&&D){const t=e.icon;if(g(t)&&Object.keys(t).length>0){const n=t.name?t.name:"";const r=t.position?t.position:"left";b+=`${A} ${A}--${r} `;if(e.selected){x='aria-pressed="true"';b+=`${A}--selected `}if(e.badging){b+=" spa-btn-icon--has-badge";e.badging.options=e.badging.options||{};e.badging.options.position="relative";S=(0,s.badgingHelper)(e.badging)}const o=`${(0,i.svgHelper)({type:"static",iconName:n,classes:"spa-btn-text-icon",focusable:"false",ariaHidden:true})}`;if(r==="right"){E=`${o}`;k=`${S}`}else{E=`${S}`;k=`${o}`}}else void 0}P.forEach((e=>{if($.indexOf(e)===-1)$.push(e)}));M=$.filter((e=>e.indexOf("role")<0));M.forEach((n=>{let r=e.attributes&&e.attributes[n]?e.attributes[n]:void 0;if(O)if(n==="type")if(p.indexOf(r)===-1)r="button";if(Object.prototype.hasOwnProperty.call(e,"secure")&&e.secure===true)if(!e.attributes||!e.attributes.href)throw new Error(`Error in ${o}: 'config.attributes' is missing an 'href' property.`);else if(n==="href")if(!/^http.+/i.test(r)){if(!t||typeof t!=="string")if(typeof spaParams!=="undefined"&&spaParams.siteParams)t=spaParams.siteParams.secureHost;else throw new Error(`Error in ${o}: secureHost is not defined and is necessary for secure link button.`);r=t+r}w+=`${n}="${r}" `}));const Z=`class="${C} ${b} ${v}"`;w=`${Z} ${w}`;const j=`<${T} ${e.vueOptionsStr||""} ${w} ${x}>${k}${_}${E}`;return new r.SafeString(j)}},"./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/card-helper/dist/es6.js":function(e,t,n){"use strict";n.r(t);n.d(t,{cardHelper:function(){return l}});var r=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.vendors/handlebars/js/handlebars.js");const i={NO_card_JCR_ERROR:"No card JCR objects provided to helper-card."};const s=["h1","h2","h3","h4","h5","h6","p","div"];const o="spa-card spa-card--overlay";function a(e,t,n){let r;let i;t.forEach((t=>{if(e.content===t.jcr)i=t}));if(t.length>0)i=t[0];else i=t;if(t&&t.length>0)if(e.dynamicContent==="partial")r=n(i);else if(e.dynamicContent==="markdown")r=n({content:i});else r=e.content;else r=e.content||"No card content found";return r}function l(e,t,...n){if(!t)throw new Error(i.NO_card_JCR_ERROR);const l=Array.prototype.slice.call(n,0,-1);const u=t;const c=new function e(){this.getID=u.id;this.clickableTargetElem="";if(u.size==="xsmall"||u.size==="small"||u.size==="large")this.size=`spa-card--${u.size}`;else this.size="spa-card--medium";this.id=this.getID?`id='${this.getID.toLowerCase()}'`:"";this.caret=u.caret?`card-caret-${u.caret}`:"";this.additionalClass=`${this.caret} ${u.class||""}`;this.class=`${o} ${this.size} ${this.additionalClass}`;this.title=u.title?u.title:null;this.titleTag=u.titleTag&&s.indexOf(u.titleTag)>=0?u.titleTag:"div";this.dismissible=!!u.dismissible;this.dismissibleADA=u.dismissibleADA;this.dismissibleADA=this.dismissibleADA===false?"Close Card":this.dismissibleADA;this.dismissibleDescribedBy=u.dismissibleDescribedBy||"";this.dismissibleClass=u.dismissibleClass||"";this.disableDismissibleADA=u.disableDismissibleADA&&u.disableDismissibleADA.toString()==="true"?true:false;if(!this.dismissible)this.class=`${this.class} spa-card__dismissible--none`;this.layerStartADA=u.layerStartADA?u.layerStartADA:false;this.layerStartADAShowFocus=u.layerStartADAShowFocus?"show-on-focus":"";this.layerEndADA=u.layerEndADA?u.layerEndADA:false;this.layerEndADAShowFocus=u.layerEndADAShowFocus?"show-on-focus":"";this.config=u.config;this.titleID=this.config&&this.config.titleID?this.config.titleID:"";this.bodyID=this.config&&this.config.bodyID?this.config.bodyID:"";this.card=u.markup;this.cardContent=u.markup&&u.markup.content?t.markup.content:null;this.dynamicContent=u.markup&&u.markup.dynamicContent?u.markup.dynamicContent:null;this.partialName=u.markup&&u.markup.partialName?u.markup.partialName:null;this.templateString=this.dynamicContent;this.header=u.head||"";this.headerClass=this.header.class||"";this.headerTitleClass=this.header.titleClass||"";this.headerSkin=u.skin?`spa-card__head-wrapper-${u.skin}`:"";this.headerIcon=u.skin==="red"||u.skin==="blue"?"spa-card__dismissible-white":"";if(u.clickableTarget){this.class=`${this.class} spa-card--clickable`;this.clickableTargetElem=`data-clickable-target="${u.clickableTarget}"`}this.footer=u.foot||"";this.footerConfig=this.footer.config||{};this.footerData=this.footer.data||[];this.footerLayoutClass=this.footerConfig.layout||"";this.footerLayoutDataAttr=this.footerConfig.layout?`data-layout="${this.footerConfig.layout}"`:"";this.footerStackedDesktop=this.footerConfig.stackOnDesktop?`data-stacked-desktop="${this.footerConfig.stackOnDesktop}"`:"";this.footerStackedTablet=this.footerConfig.stackOnTablet?`data-stacked-tablet="${this.footerConfig.stackOnTablet}"`:"";this.footerStackedMobile=this.footerConfig.stackOnMobile===false?`data-stacked-mobile="${this.footerConfig.stackOnMobile}"`:'data-stacked-mobile="true"';this.partials=new function e(){this.cardWrapper="";this.cards="";this.cardDismissible="";this.cardHead="";this.cardBody="";this.cardFoot=""}};let p="";if(c.cardContent||c.cardContent!=null){const t=e[c.partialName]?e[c.partialName]:r.compile("{{{content.markdown}}}");p=a(c.card,l,t)}let d="";c.footerData.forEach((e=>{const t=e.elementType?e.elementType:"a";const n=t==="button"?"spa-btn spa-btn--link":"";const r=t==="button"?'type="button"':"";const i=e.class?`class="spa-card__foot-link ${n} ${e.class}"`:`class="spa-card__foot-link ${n}"`;const s=e.id?`id="${e.id}"`:"";const o=e.URL?`href="${e.URL}"`:"";const a=e.ariaLabel?`aria-label="${e.ariaLabel}"`:"";if(e.content)d+=`\n <${t} ${r} ${i} ${s} ${o} ${a}>\n ${e.content}\n \n `}));if(c.dismissible)c.partials.cardDismissible+=`\n \n `;c.partials.cardHead+=`\n
\n ${c.dismissible===false&&c.dismissibleADA&&c.dismissibleADA!==false&&typeof c.dismissibleADA==="string"?`\n
${c.dismissibleADA}
\n `:""}\n
\n ${c.partials.cardDismissible}\n ${c.title?`\n <${c.titleTag} ${c.titleID?`id="${c.titleID}"`:""} class="spa-card__title ${c.headerTitleClass}">\n ${c.title}\n \n `:""}\n
\n
\n `;if(!c.dismissible&&!c.title)c.partials.cardHead=`
${c.dismissibleADA}
`;if(c.dismissible===false&&c.disableDismissibleADA===true)c.partials.cardHead="";c.partials.cardBody+=`\n
\n ${p}\n
\n `;c.partials.cardFoot+=d?`\n \n ${d}\n \n `:"";c.partials.cards+=`\n
\n ${c.layerStartADA?`\n ${c.layerStartADA}
\n `:""}\n ${c.partials.cardHead}\n ${c.partials.cardBody}\n ${c.partials.cardFoot}\n ${c.layerEndADA?`\n ${c.layerEndADA}\n `:""}\n \n `;c.partials.cardWrapper+=`\n ${c.partials.cards}\n `;return new r.SafeString(c.partials.cardWrapper)}l.functionName="card"},"./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/comparisons-helper/dist/es6.js":function(e,t,n){"use strict";n.r(t);n.d(t,{and:function(){return a},compare:function(){return i},contains:function(){return o},gt:function(){return l},gte:function(){return u},ifAny:function(){return S},ifEven:function(){return x},ifNth:function(){return h},if_eq:function(){return L},if_gt:function(){return m},if_gteq:function(){return b},if_lt:function(){return y},if_lteq:function(){return _},is:function(){return c},isnt:function(){return p},lt:function(){return d},lte:function(){return f},or:function(){return s},unless_eq:function(){return g},unless_gt:function(){return C},unless_gteq:function(){return w},unless_lt:function(){return v},unless_lteq:function(){return M}});var r=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.vendors/handlebars/js/handlebars.js");function i(e,t,n,r){if(arguments.length<3)throw new Error('Handlebars Helper "compare" needs 2 parameters');if(r===void 0){r=n;n=t;t="==="}var i={"==":function(e,t){return e==t},"===":function(e,t){return e===t},"!=":function(e,t){return e!=t},"!==":function(e,t){return e!==t},"<":function(e,t){return e":function(e,t){return e>t},"<=":function(e,t){return e<=t},">=":function(e,t){return e>=t},typeof:function(e,t){return typeof e==t}};if(!i[t])throw new Error('Handlebars Helper "compare" doesn\'t know the operator '+t);var s=i[t](e,n);if(s)return r.fn(this);else return r.inverse(this)}function s(e,t,n){if(e||t)return n.fn(this);else return n.inverse(this)}function o(e,t,n){if(e.indexOf(t)!==-1)return n.fn(this);return n.inverse(this)}function a(e,t,n){if(e&&t)return n.fn(this);else return n.inverse(this)}function l(e,t,n){if(e>t)return n.fn(this);else return n.inverse(this)}function u(e,t,n){if(e>=t)return n.fn(this);else return n.inverse(this)}function c(e,t,n){if(e===t)return n.fn(this);else return n.inverse(this)}function p(e,t,n){if(e!==t)return n.fn(this);else return n.inverse(this)}function d(e,t,n){if(et.hash.compare)return t.fn(this);return t.inverse(this)}function C(e,t){if(e>t.hash.compare)return t.inverse(this);return t.fn(this)}function y(e,t){if(e=t.hash.compare)return t.fn(this);return t.inverse(this)}function w(e,t){if(e>=t.hash.compare)return t.inverse(this);return t.fn(this)}function _(e,t){if(e<=t.hash.compare)return t.fn(this);return t.inverse(this)}function M(e,t){if(e<=t.hash.compare)return t.inverse(this);return t.fn(this)}function S(){var e=arguments.length-2;var t=arguments[e+1];var n=true;var r=0;while(r0){const r=e.name?e.name:"";const o=e.position?e.position:"left";const a=t.classes||"";t.CLASS+=` ${d} ${d}--${o} ${a} `;if(t.selected){l='aria-pressed="true"';t.CLASS+=` ${d}--selected `}if(t.badging){t.CLASS+=" spa-btn-icon--has-badge";t.badging.options=t.badging.options||{};t.badging.options.position="relative";n=(0,i.badgingHelper)(t.badging)}const p=`${(0,s.svgHelper)({type:"static",iconName:r,classes:"spa-btn-text-icon",focusable:"false",ariaHidden:true})}`;if(o==="right"){u=`${p}`;c=`${n}`}else{u=`${n}`;c=`${p}`}}else void 0}const L=e=>{const t={"&":"&","<":"<",">":">","'":"'","`":"`","=":"="};const n=/[&<>'`=]/g;const r=/[&<>'`=]/;if(typeof e!=="string"){if(e&&e.toHTML)return e.toHTML();if(e==null)return"";if(!e)return e+"";e=""+e}if(!r.test(e))return e;function i(e){return t[e]}return e.replace(n,i)};const g=t.URL||(t.allowEmptyUrl?"":"#");let m=t.CLASS||"";m+=!t.URL&&!t.allowEmptyUrl?" spa-prevent-default-click":"";m+=t.linkType;const C=[`href="${g}"`];t.vueOptionsStr&&C.push(t.vueOptionsStr);t.ID&&C.push(`id="${t.ID}"`);t.DATA_URL&&C.push(`data-href="${t.DATA_URL}"`);m?C.push(`class="${m}"`):"";t.REL&&C.push(`rel="${t.REL}"`);t.OPTIONS&&C.push(`data-options='${L(t.OPTIONS)}'`);t.TARGET&&C.push(`target="${t.TARGET}"`);t.bactmln&&C.push(`data-bactmln="${t.bactmln}"`);t.tabIndex&&C.push(`tabindex="${t.tabIndex}"`);t.ariaLabel&&C.push(`aria-label="${t.content} ${t.ariaLabel}"`);const y=`${c}${t.content}${u}`;return new r.SafeString(y)}},"./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/messaging-helper/dist/es6.js":function(e,t,n){"use strict";n.r(t);n.d(t,{messagingFormatHelper:function(){return p},messagingHelper:function(){return c}});var r=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.vendors/handlebars/js/handlebars.js");var i=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.utilities/messaging-defaults-utility/dist/es6.js");const s={MSG_NO_JCR:"No JCR objects provided to helper."};const o=i["default"].getDefaultConfig();function a(e,t){let n="";if(t&&t.isBlockHelperOptions){const i=r.compile(`${t.helperBlockContent}`);n=i(e)}if(t&&Object.prototype.hasOwnProperty.call(t,"fn"))n=t.fn(e);return n}function l(e,t){const n=t.options;const i=n.defaultStrings[n.language][t.type];const s=`${i}`;if(Array.isArray(e)){let i="";let o="";let a="";let l="";if(n.listType==="ordered"||n.listType==="unordered"){o='
  • ';a="
  • ";l=n.listType==="ordered"?"ol":"ul";i+=`<${l} class="spartaMessage-list" role="list" ${t.title?"":'tabIndex="-1"'}>${t.title?"":s}`}e.forEach(((e,r)=>{if(n.listType==="paragraph"){a="

    ";if(r===0&&!t.title)o=`

    ${s}`;else o='

    '}i+=`${o}${e}${a}`}));if(n.listType==="ordered"||n.listType==="unordered")i+=``;return new r.SafeString(i)}return e&&e!==void 0&&e!==""?new r.SafeString(`

    ${t.title?"":s}${e}

    `):""}function u(e,t){let n="";let i="";let s="";let o="";let a="";let l="";let u="";const c=e.options;const p=e.closeText;const d=e.closeMessageADAText;const f=c.defaultStrings[c.language][e.type];if(c.border!==null)if(c.border=="0"||c.border=="0px")n="spartaMessage-border--none";if(c.dismiss&&c.size!=="xsmall"){l="dismiss";if(c.dismissADALabel===void 0)c.dismissADALabel="";i=`\n \n `.trim();u=`
    ${i}
    `}if(c.remind===false)s='Remind Me Later';if(c.neverShow===false)o='Never Show Again';const h=e.title!==""&&e.title!==void 0?`

    ${f}${e.title}

    `:"";if(!e.title||e.title===void 0)a="no-title";const L=e.renderDataOptions?`data-options="${r.Utils.escapeExpression(JSON.stringify(e))}"`:"";const g=`spartaMessage ${e.type} ${c.size} ${n}`.trim();const m=`\n
    \n \n
    \n ${h}\n ${t}\n
    \n ${u}\n
    \n ${s}\n
    \n
    \n ${o}\n
    \n
    \n `.trim();return new r.SafeString(m)}function c(e,t){if(!e)throw new Error(`${s.MSG_NO_JCR}:msgHelper`);const n=t?"global"in t.data.root:void 0;const i="renderDataOptions"in e?e.renderDataOptions:n;const c=a(e,t);const p={uuid:e.uuid||((1+Math.random())*65536||0).toString(16).substring(1),type:e.type,title:e.title,content:e.content,renderDataOptions:i||n?i:false,options:Object.assign({},o,e.options)};if(e.options&&e.options.closeText)p.closeText=e.options.closeText;else p.closeText=p.options.defaultStrings[p.options.language].closeText;if(e.options&&e.options.closeMessageADAText)p.closeMessageADAText=e.options.closeMessageADAText;else p.closeMessageADAText=p.options.defaultStrings[p.options.language].closeMessageADAText;let d=c!==""?c:p.content;d=l(d,p);return new r.SafeString(u(p,d))}function p(e,t){return l(e,t)}},"./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/module-container-helper/dist/es6.js":function(e,t,n){"use strict";n.r(t);n.d(t,{composeModule:function(){return d},moduleContainer:function(){return p}});var r=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.vendors/handlebars/js/handlebars.js");var i=n("./sparta-install-temp/gt-secure-fdic-widget.1.0.0/node_modules/@sparta.global.helpers/json-helper/dist/es6.js");function s(e){return typeof e!=="string"?e:e.replace(/&/g,"&").replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">")}function o(e,t,n,r,i="\n"){const s=n;const o=[];const a=e.replace(t,((e,t)=>{const n=t.trim();if(n)o.push(n);return""}));s[r]=`${s[r]||""}${i}${o.join(i)}`;return a}function a(e){const t={};let n=e.module.moduleParams;if(!Array.isArray(n))n=Object.values(n);n.forEach((n=>{t[n.name]=Object.hasOwnProperty.call(e.module||{},n.name)?e.module[n.name]:n.default}));return`data-module-parameters='${JSON.stringify(t)}'`}function l(e){try{return JSON.parse(e)}catch(t){return e}}function u(e,t){if(!e||typeof e!=="object")return e;const n={};Object.keys(e).forEach((o=>{const a=e[o];if(typeof a==="string"&&a.indexOf("{{")>-1)n[o]=l(s(r.compile(a)(t,{helpers:{json:i.json},partials:{}})));else if(Array.isArray(a))n[o]=a.map((e=>u(e,t)));else n[o]=u(e[o],t)}));return n}function c(e,t,n,s,l,c,p,d){const f=l.config;const h=l.dataSources||{};const L=f.moduleName;const g=f.version;const m={env:e,language:t,moduleName:L,global:n.global[t],page:s.parameters,site:n.params,module:{...f},children:l.children,footnotes:s.footnotes,partials:p,helpers:d};const C=n.nonWrappedModules;Object.keys(h).forEach((e=>{m[e]=h[e][t]?h[e][t]:h[e]}));Object.assign(m.module,u(l.params||{},m));if(f.data&&typeof f.data.options==="object")m.module.data=u(f.data,m);const y=f.tag||"div";const v=l.id||f.id||"";m.module.containerID=v;const b=f.nameSpace||L;const w=`${b}-class-v-${g}`.replace(/\./g,"-");let _="";let M="";let S="";if(f.data&&typeof f.data.init==="string"){_=`data-init="${f.data.init}"`;M="spa-module-init"}if(m.module.data&&typeof m.module.data.options==="object")S=`data-options='${JSON.stringify(m.module.data.options)}'`;const x=!l.primaryloadType&&s.hasSecondary?"secondary":"primary";const k=`data-sparta-load="${x}"`;const E=`data-module-ref="${l.name}"`;(m.module.load||{}).group=x;const A=r.compile(`\n\n<${y} ${v?`id="${v}"`:""} ${l.containsWebResources?`data-target-id="${l.targetId}" class="${w} ${b}"`:`data-component="module" ${k} ${E} ${_}\n ${a(m)} class="${w} ${b} ${M}"`} data-module="${L}" data-version="${g}" ${S}>`)(m,{helpers:{json:i.json},partials:{}});let T="";if(!c[L]||c[L].indexOf("addModule")===-1){if(l.containsWebResources&&l.renderLoader){if(l.loaderContext)m.loaderContext=l.loaderContext;T=l.renderLoader(m)}else if(l.config.type!=="vue"&&!l.containsWebResources)T=l.config.render(m);if(n.params.inlineCode&&!l.isOnDemandModule){T=o(T,/